<?php



namespace App\Repositories;


class ResponseMsg
{


    const DEFECT_SIGN = '缺失sign签名';
    const DEFECT_TIMESTAMP = '缺失时间戳';
    const DEFECT_NONCE = '缺失nonce';
    const INVALID_SIGN = '非法sign签名';
    const INVALID_TIMESTAMP = '非法时间戳';
    const INVALID_NONCE = '非法请求';
    const DEFECT_TOKEN = '缺失token';
    const INVALID_TOKEN = 'token 无效';
    const TOKEN_FORMAT_ERROR = 'token 格式错误';
    const PARAM_ERROR = '缺失必要参数';



    const MISS_FILE = '缺失上传文件';
    const FILE_EXT_ERR = '文件格式异常';
    const NO_VALID_DATA = '无效数据';
    const DATA_EXIST = '数据已存在';




    const ACCOUNT_OFFLINE = '账号其他设备登录被下线';
    const SMS_CODE_INVALID = '短信验证码无效';
    const USER_NOT_EXIST = '用户不存在';
    const USER_EXIST = '手机号已经注册';
    const USER_FORBID = '用户状态异常';
    const LOGIN_FAIL = '登陆失败';
    const PASSWORD_ERROR = '密码错误';
    const SMS_ERROR = '验证码发送失败';
    const SMS_OK = '验证码发送成功';
    const PASSWORD_CHANGE_OK = '密码修改成功';
    const CREATE_OK = '创建成功';


}
